package com.fasteat.mall.service;

import com.fasteat.mall.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hy
 * @since 2021-01-19
 */
public interface AddressService extends IService<Address> {

    /**
     * 通过userId查找地址
     *
     * @param userId
     * @return
     */
    List<Address> findByUserId(String userId);
}
